<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<jsp:useBean id="poemDao" class="com.pb.poem.dao.impl.PoemDaoImpl" scope="request"/>
<jsp:useBean id="poemService" class="com.pb.poem.service.impl.PoemServiceImpl"  scope="request"/>
<jsp:useBean id="api" class="com.pb.poem.plantform.qq.api.QQAPI"  scope="session"/>
<jsp:setProperty property="openid" name="api" value="${sessionScope.uid}"/>
<jsp:setProperty property="openkey" name="api" value="${sessionScope.sessionkey}"/>
<jsp:setProperty property="pf" name="api" value="${sessionScope.pf}"/>
<jsp:setProperty property="poemDao" name="poemService" value="<%=poemDao%>"/>